<?php
define('DS',		DIRECTORY_SEPARATOR);
define('PS',		PATH_SEPARATOR);
define('BASE_PATH',	realpath(dirname(__FILE__)));
define('ROOT_PATH',	dirname(BASE_PATH));

$paths = array(
	'.',
	BASE_PATH . DS . 'modules',
	ROOT_PATH . DS . 'lib',
	ROOT_PATH . DS . 'vendors',
	get_include_path()
);
set_include_path(implode(PS,$paths));
unset($paths);

require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();

Katana::setRoot(BASE_PATH);